package myenum;

public enum Season {
    SPRING(1), SUMMER(2), AUTUMN(3), WINTER(4);
    private int num;
    Season() {

    }
    Season(int num) {
        this.num = num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getNum() {
        return num;
    }
}
